package com.lingx.model.impl.api;

import javax.annotation.Resource;

import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Component;

import com.lingx.model.IScriptApi;
@Component
public class JdbcApi implements IScriptApi {
	@Resource
	private JdbcTemplate jdbcTemplate;
	@Override
	public String getCode() {
		return "JDBC";
	}

	@Override
	public Object getApi() {
		return jdbcTemplate;
	}

}
